﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Master_Page/Master_Popup.Master" CodeBehind="EditMaterialEstimate.aspx.vb" Inherits="I_PORT.EditMaterialEstimate" 
    title="IRPC INTELLIGENT PORT SERVICE" %>
 <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript" language="javascript">
            function checkNumber(e)
{
var keycode;

if (window.event) keycode = window.event.keyCode; // ใช้ IE อ่ะ

else if (e) keycode = e.which; // ใช้ Firefox เน่าะ

 if (((keycode > 47) && (keycode < 58))||(keycode == 190)||(keycode == 46))
 {
 return true;
 }
return false;
}
    </script>
  <asp:UpdatePanel ID="UpdatePanelDelayPopup" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
       <table width="100%" border="0" cellpadding="2" cellspacing="0" >
         <tr>
             <td style="width:20%;" align="right"><asp:Label ID="Label1" runat="server" Text="Material :" SkinID="lbtxt" ></asp:Label>&nbsp;</td>
             <td align="left">
                   <asp:Label ID="lbMeterial" runat="server" SkinID="lbtxt" ></asp:Label>
             </td>
         </tr>
         <tr>
             <td style="width:20%;" align="right"><asp:Label ID="Label2" runat="server" Text="Name :" SkinID="lbtxt" ></asp:Label>&nbsp;</td>
             <td align="left">
                   <asp:Label ID="lbName" runat="server" SkinID="lbtxt" ></asp:Label>
             </td>
         </tr>
         <tr>
             <td style="width:20%;" align="right"><asp:Label ID="Label3" runat="server" Text="จำนวน :" SkinID="lbtxt" ></asp:Label>&nbsp;</td>
             <td align="left">
                  <asp:TextBox ID="txtAmount" runat="server" Width="60px" onkeypress="return checkNumber(this);" ></asp:TextBox>
             </td>
         </tr>
          <tr>
             <td style="width:20%;" align="right">&nbsp;</td>
             <td align="left">
                   <asp:Button ID="btnSave" runat="server" CssClass="ButtonStyle" Text="แก้ไข" />
                   <asp:Button ID="btnClose" runat="server" CssClass="ButtonStyle" Text="ปิด" />
             </td>
         </tr>
      </table>
    </ContentTemplate>
  </asp:UpdatePanel>
</asp:Content>
